home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000150_icon-group-sender _Sun Jul 7 14:05:22 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 8 Jul 1996 08:30:09 MST
From: Michael Edward Maul <maul@cms.uncwil.edu>
Message-Id: <199607071805.AA06614@cms.uncwil.edu>
Subject: loadfunc working w/linux-elf
To: icon-group@cs.arizona.edu
Date: Sun, 7 Jul 1996 14:05:22 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1792
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
Linux and Icon users rejoice you can now use loadfunc!!!
Sinces the Linux's move to ELF it is now possible to use loadfunc to
load c library functions dynamically. Cool huh?
To do this simple comple iconx with
-rdynamic -ldl
linking options...Also add
#define LoadFunc
to define.h in the config/unix/i386_linux. Basically that is all there is...
Well mabey a little more, All files that you are compiled into the library you
intend to make must be compiled with
-fPIC
Finally when building you library you can link with
gcc -shared -o
Of course I made a patchfile that you can use..instead it sets up changes
to the Icon source config and also gets all the samples and tests in shape
to compile...
I'm not sure where I'm gong to up load this to yet, but some places to
try initally are:
sol.cms.uncwil.edu/Incomming
cs.arizona.edu/Incomming
From there it should migrate to icon/contrib on both sites.
If you want more information on the Linux implementation of ELF, check out
H.J. Lu's ELF:From the Programmers Perspective at
tsx-11.mit.edu/pub/linux/packages/GCC/elf.ps.gz
By the way currently I am working on creating an interface to MetalBase
database. If anyone is interested in it, email me if I get enough intrest
I'll put on the ftp sites....
Mike Maul
maul@sol.cms.uncwil.edu
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Maul | Intrests/hobbies: hacking (is there really
CS major (senior) | any thing else)
UNC-Wilmington | Like what you see? ........Offer me a job!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E-Mail: maul@sol.cms.uncwil.edu
WWW: http://www.cms.uncwil.edu/~maul
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.